
package net.opengis.kml;

/** 
 * Schema fragment(s) for this class:
 * <pre>
 * &lt;xs:complexType xmlns:ns="http://www.opengis.net/kml/2.2" xmlns:xs="http://www.w3.org/2001/XMLSchema" final="#all" name="ModelType">
 *   &lt;xs:complexContent>
 *     &lt;xs:extension base="ns:GeometryType">
 *       &lt;xs:sequence>
 *         &lt;xs:element type="ns:altitudeModeEnum" default="clampToGround" name="altitudeMode" minOccurs="0"/>
 *         &lt;xs:element ref="ns:Location" minOccurs="0"/>
 *         &lt;xs:element ref="ns:Orientation" minOccurs="0"/>
 *         &lt;xs:element ref="ns:Scale" minOccurs="0"/>
 *         &lt;xs:element ref="ns:Link" minOccurs="0"/>
 *       &lt;/xs:sequence>
 *     &lt;/xs:extension>
 *   &lt;/xs:complexContent>
 * &lt;/xs:complexType>
 * </pre>
 */
public class ModelType extends GeometryType
{
    private AltitudeModeEnum altitudeMode;
    private LocationType location;
    private OrientationType orientation;
    private ScaleType scale;
    private Link link;

    /** 
     * Get the 'altitudeMode' element value.
     * 
     * @return value
     */
    public AltitudeModeEnum getAltitudeMode() {
        return altitudeMode;
    }

    /** 
     * Set the 'altitudeMode' element value.
     * 
     * @param altitudeMode
     */
    public void setAltitudeMode(AltitudeModeEnum altitudeMode) {
        this.altitudeMode = altitudeMode;
    }

    /** 
     * Get the 'Location' element value.
     * 
     * @return value
     */
    public LocationType getLocation() {
        return location;
    }

    /** 
     * Set the 'Location' element value.
     * 
     * @param location
     */
    public void setLocation(LocationType location) {
        this.location = location;
    }

    /** 
     * Get the 'Orientation' element value.
     * 
     * @return value
     */
    public OrientationType getOrientation() {
        return orientation;
    }

    /** 
     * Set the 'Orientation' element value.
     * 
     * @param orientation
     */
    public void setOrientation(OrientationType orientation) {
        this.orientation = orientation;
    }

    /** 
     * Get the 'Scale' element value.
     * 
     * @return value
     */
    public ScaleType getScale() {
        return scale;
    }

    /** 
     * Set the 'Scale' element value.
     * 
     * @param scale
     */
    public void setScale(ScaleType scale) {
        this.scale = scale;
    }

    /** 
     * Get the 'Link' element value.
     * 
     * @return value
     */
    public Link getLink() {
        return link;
    }

    /** 
     * Set the 'Link' element value.
     * 
     * @param link
     */
    public void setLink(Link link) {
        this.link = link;
    }
}
